// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'

import hdjsBtn from './components/hdjsBtn.vue'
import hdjs from './components/hdjs.vue'
import answer from './components/answer.vue'
import cjBtn from './components/cjBtn.vue'
import draw from './components/draw.vue'
import pang from './components/pang.vue'
import liuzi from './components/liuzi.vue'
import savehb from './components/savehb.vue'
Vue.component(hdjsBtn.name,hdjsBtn);
Vue.component(hdjs.name,hdjs);
Vue.component(answer.name,answer);
Vue.component(cjBtn.name,cjBtn);
Vue.component(draw.name,draw);
Vue.component(pang.name,pang);
Vue.component(liuzi.name,liuzi);
Vue.component(savehb.name,savehb);

Vue.prototype.$axios = axios;
Vue.prototype.center = new Vue();
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})